<nav class="navbar navbar-inverse" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">

            <img src="/images/node.jpg" height="44px;" />

        </div>
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
            <ul class="nav navbar-nav">

                <li class="active"><a href="#">商品管理</a>
                </li>
                <li class=""><a href="#">系统设置</a>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <% if (user) { %>
                    <li>
                        <a href="/">
                            欢迎您：<%= user.username %>
                        </a>
                    </li>
                    <% } %>

                        <li><a href="/loginout">安全退出</a>
                        </li>
            </ul>
        </div>
    </div>
</nav>